<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%
	String path = request.getContextPath() + "/";
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>选择分类</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/d_common.css">
<script>
var i = 120;
Timeout();
function Timeout(){
	if(i>0){
		i--;
		setTimeout(function(){Timeout();},1000);
	}else{
		window.location.href="<%=basePath%>declaimer/endread?devicecode=${devicecode}&guid=${user.guid}";
	}
}
</script>
<style>
.list li {
	background: none;
	width: 25%;
	margin-right:auto;
}

.list li img {
	width: 150px;
	height: 150px;
	padding-top: 0px;
	padding-bottom: 0px;
	border: 10px solid #c1e1dc;
	border-radius: 50%;
}

.list li a span {
	width: 30px;
	background: none;
}
</style>
</head>
<body class="bg2">
	<div class="header">
		<div class="logo">
			<a href="declaimer/first?guid=${user.guid}&devicecode=${devicecode}"><img src="img/n_logo.png" alt="">
			</a>
		</div>
		<div class="user">
			<img src="${user.pic==null?'img/man.png':user.pic==''?'img/man.png':user.pic }" alt="">
			<div class="admin">
				<span class="name">${user.name }</span><br> <span class="number">${user.cardno }</span>
			</div>
		</div>
	</div>

	<div class="main">
		<ul class="list clear">
			<c:forEach var="type" items="${list }">
			<li><a href="declaimer/material?cardno=${user.cardno }&guid=${user.guid}&code=${type.code }&devicecode=${devicecode}" class="reader"> <img
					src="${type.pic }" alt=""><br> <span>${type.title }</span> </a></li>
			</c:forEach>
		</ul>
	</div>
	<div class="footer">
	<div style="height:225px;">
    <ul>
        <li><span></span>关于服务器维护的紧急通知</li>
        <li><span></span>2017年阅读推广公益活动洽谈文化志愿者招募</li>
    </ul>
    <img src="img/wx.png" alt="" class="footerimg1">
    </div>
    <div style="text-align: center;line-height: 60px;">
	     <!--  <b>Version</b> 1.0.0
	    <strong>Copyright &copy; 2017 <a href="#" style="color:#000;">厦门信昇达教育科技有限公司</a>.</strong> All rights
	    reserved. -->
	  </div>
</div>
</body>
</html>